package com.zz.ecommerce.common.bean.qdc.xml.declform;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.math.BigDecimal;

/**
 * <p>Java class for anonymous complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p/>
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="G_NO" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="CODE_TS" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="G_NAME" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="G_MODEL" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="G_DESC" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="G_NUM" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="G_UNIT" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="PRICE" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="CURR_CODE" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="QTY_1" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="UNIT_1" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="TRADE_MARK" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="ORIGIN_COUNTRY" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="USE_TO" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="DUTY_MODE" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="TAX_PAYMENT" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="TAX_RATE" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="NOTE" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "gno",
    "codets",
    "gname",
    "gmodel",
    "gdesc",
    "gnum",
    "gunit",
    "price",
    "currcode",
    "qty1",
    "unit1",
    "trademark",
    "origincountry",
    "useto",
    "dutymode",
    "taxpayment",
    "taxrate",
    "note"
})
public class GoodsList {

    @XmlElement(name = "G_NO")
    protected int gno;
    @XmlElement(name = "CODE_TS", required = true)
    protected String codets;
    @XmlElement(name = "G_NAME", required = true)
    protected String gname;
    @XmlElement(name = "G_MODEL", required = true)
    protected String gmodel;
    @XmlElement(name = "G_DESC", required = true)
    protected String gdesc;
    @XmlElement(name = "G_NUM")
    protected int gnum;
    @XmlElement(name = "G_UNIT", required = true)
    protected String gunit;
    @XmlElement(name = "PRICE", required = true)
    protected BigDecimal price;
    @XmlElement(name = "CURR_CODE", required = true)
    protected String currcode;
    @XmlElement(name = "QTY_1", required = true)
    protected BigDecimal qty1;
    @XmlElement(name = "UNIT_1", required = true)
    protected String unit1;
    @XmlElement(name = "TRADE_MARK", required = true)
    protected String trademark;
    @XmlElement(name = "ORIGIN_COUNTRY", required = true)
    protected String origincountry;
    @XmlElement(name = "USE_TO", required = true)
    protected String useto;
    @XmlElement(name = "DUTY_MODE", required = true)
    protected String dutymode;
    @XmlElement(name = "TAX_PAYMENT", required = true)
    protected BigDecimal taxpayment;
    @XmlElement(name = "TAX_RATE", required = true)
    protected BigDecimal taxrate;
    @XmlElement(name = "NOTE", required = true)
    protected String note;

    /**
     * Gets the value of the gno property.
     */
    public int getGNO() {
        return gno;
    }

    /**
     * Sets the value of the gno property.
     */
    public void setGNO(int value) {
        this.gno = value;
    }

    /**
     * Gets the value of the codets property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getCODETS() {
        return codets;
    }

    /**
     * Sets the value of the codets property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setCODETS(String value) {
        this.codets = value;
    }

    /**
     * Gets the value of the gname property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getGNAME() {
        return gname;
    }

    /**
     * Sets the value of the gname property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setGNAME(String value) {
        this.gname = value;
    }

    /**
     * Gets the value of the gmodel property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getGMODEL() {
        return gmodel;
    }

    /**
     * Sets the value of the gmodel property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setGMODEL(String value) {
        this.gmodel = value;
    }

    /**
     * Gets the value of the gdesc property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getGDESC() {
        return gdesc;
    }

    /**
     * Sets the value of the gdesc property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setGDESC(String value) {
        this.gdesc = value;
    }

    /**
     * Gets the value of the gnum property.
     */
    public int getGNUM() {
        return gnum;
    }

    /**
     * Sets the value of the gnum property.
     */
    public void setGNUM(int value) {
        this.gnum = value;
    }

    /**
     * Gets the value of the gunit property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getGUNIT() {
        return gunit;
    }

    /**
     * Sets the value of the gunit property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setGUNIT(String value) {
        this.gunit = value;
    }

    /**
     * Gets the value of the price property.
     *
     * @return possible object is
     * {@link BigDecimal }
     */
    public BigDecimal getPRICE() {
        return price;
    }

    /**
     * Sets the value of the price property.
     *
     * @param value allowed object is
     *              {@link BigDecimal }
     */
    public void setPRICE(BigDecimal value) {
        this.price = value;
    }

    /**
     * Gets the value of the currcode property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getCURRCODE() {
        return currcode;
    }

    /**
     * Sets the value of the currcode property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setCURRCODE(String value) {
        this.currcode = value;
    }

    /**
     * Gets the value of the qty1 property.
     *
     * @return possible object is
     * {@link BigDecimal }
     */
    public BigDecimal getQTY1() {
        return qty1;
    }

    /**
     * Sets the value of the qty1 property.
     *
     * @param value allowed object is
     *              {@link BigDecimal }
     */
    public void setQTY1(BigDecimal value) {
        this.qty1 = value;
    }

    /**
     * Gets the value of the unit1 property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getUNIT1() {
        return unit1;
    }

    /**
     * Sets the value of the unit1 property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setUNIT1(String value) {
        this.unit1 = value;
    }

    /**
     * Gets the value of the trademark property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getTRADEMARK() {
        return trademark;
    }

    /**
     * Sets the value of the trademark property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setTRADEMARK(String value) {
        this.trademark = value;
    }

    /**
     * Gets the value of the origincountry property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getORIGINCOUNTRY() {
        return origincountry;
    }

    /**
     * Sets the value of the origincountry property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setORIGINCOUNTRY(String value) {
        this.origincountry = value;
    }

    /**
     * Gets the value of the useto property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getUSETO() {
        return useto;
    }

    /**
     * Sets the value of the useto property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setUSETO(String value) {
        this.useto = value;
    }

    /**
     * Gets the value of the dutymode property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getDUTYMODE() {
        return dutymode;
    }

    /**
     * Sets the value of the dutymode property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setDUTYMODE(String value) {
        this.dutymode = value;
    }

    /**
     * Gets the value of the taxpayment property.
     *
     * @return possible object is
     * {@link BigDecimal }
     */
    public BigDecimal getTAXPAYMENT() {
        return taxpayment;
    }

    /**
     * Sets the value of the taxpayment property.
     *
     * @param value allowed object is
     *              {@link BigDecimal }
     */
    public void setTAXPAYMENT(BigDecimal value) {
        this.taxpayment = value;
    }

    /**
     * Gets the value of the taxrate property.
     *
     * @return possible object is
     * {@link BigDecimal }
     */
    public BigDecimal getTAXRATE() {
        return taxrate;
    }

    /**
     * Sets the value of the taxrate property.
     *
     * @param value allowed object is
     *              {@link BigDecimal }
     */
    public void setTAXRATE(BigDecimal value) {
        this.taxrate = value;
    }

    /**
     * Gets the value of the note property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getNOTE() {
        return note;
    }

    /**
     * Sets the value of the note property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setNOTE(String value) {
        this.note = value;
    }

    @Override
    public String toString() {
        return "GoodsList{" +
               "gno=" + gno +
               ", codets='" + codets + '\'' +
               ", gname='" + gname + '\'' +
               ", gmodel='" + gmodel + '\'' +
               ", gdesc='" + gdesc + '\'' +
               ", gnum=" + gnum +
               ", gunit='" + gunit + '\'' +
               ", price=" + price +
               ", currcode='" + currcode + '\'' +
               ", qty1=" + qty1 +
               ", unit1='" + unit1 + '\'' +
               ", trademark='" + trademark + '\'' +
               ", origincountry='" + origincountry + '\'' +
               ", useto='" + useto + '\'' +
               ", dutymode='" + dutymode + '\'' +
               ", taxpayment=" + taxpayment +
               ", taxrate=" + taxrate +
               ", note='" + note + '\'' +
               '}';
    }
}
